package com.cimpm.task.controller;

import java.util.Map;

import com.cimpm.task.entity.TaskInstance;
import com.cimpm.task.service.impl.TaskInstanceServiceImpl;
import com.hby.common.annotation.aspect.AutoEntityProcess;
import com.hby.common.annotation.handler.AutoRequestBody;
import org.springframework.web.bind.annotation.*;
import com.hby.common.annotation.*;

@RestController
@RequestMapping("/taskInstance")
@CrossOrigin
public class TaskInstanceController {

    @Remind("由Flow生成流程实例")
    @AutoEntityProcess(BUSINESS_CLASS = TaskInstance.class, LOG_MSG = "taskInstance", PERMISSION_TYPE = "53")
    public Object taskInstanceAuto(@AutoRequestBody Map<String, Object> param){
        return null;
    }

}
